//package com.kaifamiao.contraller;
//
//import com.kaifamiao.model.RoomModel;
//import com.kaifamiao.service.RoomService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping(value = "/room")
//public class RoomController {
//    @Autowired
//    RoomService service;
//
//    @RequestMapping("/add")
//    public void add(){
//        RoomModel model=new RoomModel();
//        model.setRoomno("147");
//        model.setBeginno(1);
//        model.setEndno(22);
//        model.setTupian("");
//        System.out.println(service.addRoom(model));
//    }
//}
